package com.yc.thread;

/**
 * @program: gitee3_thread
 * @description:
 * @author: zy
 * @create: 2024-07-14 08:58
 */
public class Test1_SingleThread {

    public static void main(String[] args) throws InterruptedException {
        System.out.println("  main开头  ");
        show();
        System.out.println("  main结束  ");
    }

    //系统性能的瓶颈.  耗时,假死，阻塞.
    public static void show() throws InterruptedException {
        Thread.sleep(5000);    // 耗时,
        System.out.println("aaa");
    }

}



